<?php

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;

class VerifyCsrfToken extends Middleware
{
    /**
     * 指示是否应在响应上设置XSRF-TOKEN cookie.
     *
     * @var bool
     */
    protected $addHttpCookie = true;

    /**
     * 应从CSRF验证中排除的URI。
     *
     * @var array
     */
    protected $except = [
        '/api/alipay/order_pay_notify',//订单支付回调
		'api/wechat/*',//微信回调
    ];
}
